SPM: Deprecate the current implementation
authorAntonio Nino Diaz <[email protected]>
Tue, 30 Oct 2018 11:08:08 +0000 (11:08 +0000)
committerAntonio Nino Diaz <[email protected]>
Mon, 10 Dec 2018 16:37:46 +0000 (16:37 +0000)
commit2d7b9e5e7fde47be6e312a903f127964596bb85e
tree694bbe2552a0aedd6c42c432c2c5d25553660758
parent73f45ba4a942662fa2b32b81d51a9d8c02851630
SPM: Deprecate the current implementation

The current SPM is a prototype that only supports one secure partition
in EL0. The objective of SPM is to have multiple partitions. The current
MM interface isn't adequate for this, so it is needed to modify heavily
the code to add proper support for it.

However, there are platforms which are already using this (like SGI) and
removing the code would break it.  For this reason, the current SPM code
has been duplicated in order to temporarily preserve compatibility. All
new improvements/changes to SPM will be done in the non-deprecated copy,
that may change without notice.

The new build option SPM_DEPRECATED has been introduced to select the SPM
implementation. It defaults to 1, that selects the deprecated SPM.

Change-Id: Ic9f80b53b450e97b4d3f47e4ef4a138ee8d87443
Signed-off-by: Antonio Nino Diaz <[email protected]>
Makefile
bl31/bl31.mk
make_helpers/defaults.mk
services/std_svc/spm_deprecated/aarch64/spm_helpers.S [new file with mode: 0644]
services/std_svc/spm_deprecated/aarch64/spm_shim_exceptions.S [new file with mode: 0644]
services/std_svc/spm_deprecated/sp_setup.c [new file with mode: 0644]
services/std_svc/spm_deprecated/sp_xlat.c [new file with mode: 0644]
services/std_svc/spm_deprecated/spm.mk [new file with mode: 0644]
services/std_svc/spm_deprecated/spm_main.c [new file with mode: 0644]
services/std_svc/spm_deprecated/spm_private.h [new file with mode: 0644]
services/std_svc/spm_deprecated/spm_shim_private.h [new file with mode: 0644]